Skip to content

Bump virtualenv from 21.15.9 to 21.15.11 - #366

Merged
babenek merged 1 commit into
mainfrom
dependabot/pip/virtualenv-21.15.11
Nov 25, 2026
Merged

babenek merged 1 commit into
mainfrom
dependabot/pip/virtualenv-21.15.11

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 24, 2026

Copy link
Copy Markdown
Contributor

Bumps virtualenv from 21.15.9 to 21.15.11.

Release notes

Sourced from virtualenv's releases.

21.15.11

Bug fixes

  • Restore the interpreter search path check for copied POSIX CPython environments created with the stdlib venv creator. An unsafe search path stops creation before --clear removes the existing environment (#3754) by @​gaborbernat.

🐍 PyPI release

📜 Full Changelog

21.15.10

Bug fixes

  • Warn when recreating a POSIX environment with the venv creator leaves files named for the previous interpreter (#3753) by @​gaborbernat. (#3751)
  • Apply file-creation permissions, including default ACLs, to interpreters copied by the stdlib venv creator. Shared directories retain their mode unless the copy needs temporary protection. Linux runtimes with default ACL lookup can restore owner execute when the umask alone removes it (#3710) by @​gaborbernat.
  • Apply the Python 3.9 distutils path filter when the standard library is loaded from a ZIP archive (#3707) by @​gaborbernat.
  • Both POSIX creators check the standard-library search paths of shared CPython 3.11+ builds when using --copies. They reject unsafe library directories and unexpected standard-library zips, and warn when another account could change a search directory after creation. Use --symlinks or a private parent directory to avoid that risk (#3721) by @​gaborbernat.
  • Create missing default app-data cache parents with owner-only permissions, even under a permissive umask (#3742) by @​gaborbernat.
  • Do not read default configuration or app-data from unresolved or relative home and XDG paths in the working tree. Use temporary app-data when no absolute default cache path is available; explicit paths still work (#3742) by @​gaborbernat.
  • Escape control characters in the destination path in the creation summary (#3712) by @​gaborbernat.
  • Keep Bash prompt text literal after a locale change and avoid slow activation with long prompts (#3725) by @​gaborbernat.
  • Keep Git Bash command lookup working when Bash activation follows batch activation in cmd.exe (#3719) by @​gaborbernat.
  • Keep Tcl and Tk library path bytes stable when Xonsh sources an activation script under UTF-7 (#3743) by @​gaborbernat.
  • Keep Xonsh activation on the created environment when the sourcing session uses a different filesystem codec. For non-ASCII POSIX destinations, the script now records UTF-8 path bytes and decodes them in the sourcing session, so VIRTUAL_ENV, PATH, and PKG_CONFIG_PATH retain the original path bytes. If the codec cannot represent the new environment, the current environment stays active (#3743) by @​gaborbernat.
  • Keep Xonsh activation values intact when UTF-7 source decoding would turn prompt or path text into Python syntax. Recreate existing environments to regenerate their activation scripts (#3743) by @​gaborbernat.
  • Keep TCL_LIBRARY and TK_LIBRARY from pointing at different directories when the activation script cannot reproduce the interpreter's library path bytes. Non-ASCII paths from the current UTF-8 environment still work (#3743) by @​gaborbernat.
  • Keep virtualenv.ini in the configuration directory when migrating app data to the cache on macOS and Windows (#3742) by @​gaborbernat.
  • Keep filtering distutils install paths on Python 3.9 after a configuration file fails to decode (#3696) by @​gaborbernat.
  • Keep incomplete zipapp extractions out of the app-data cache so the next run can retry them (#3735) by @​gaborbernat.
  • Keep line feeds in pip seeder interpreter paths out of the generated launcher's Python body (#3699) by @​gaborbernat.
  • Keep non-ASCII csh activation values byte-exact across shell locale changes. tcsh could misread quotes after prompt text in Big5-HKSCS or turn a destination character into a PATH separator after switching to the C locale. BSD csh now displays a single backslash in non-ASCII prompts. Generated .csh files with non-ASCII values may contain raw bytes rather than valid UTF-8 (#3687) by @​gaborbernat.
  • Keep non-ASCII values in Bash activation scripts from changing shell syntax under legacy locales (#3695) by @​gaborbernat.
  • Keep selected pip wheel paths intact when they contain a PYTHONPATH separator (#3716) by @​gaborbernat.
  • Keep the first configured import path in the target debug report (-vv and Creator.debug) when the interpreter uses PYTHONSAFEPATH or an isolated ._pth file (#3748) by @​gaborbernat.
  • Keep the pip seeder on its selected wheel regardless of PIP_* settings or pip configuration. The seed install ignores PIP_*; later pip commands still use them (#3728) by @​gaborbernat.
  • Keep the read-only attribute of surviving Windows hard links when replacing or clearing an environment. On filesystems that reject attribute-preserving deletion, refuse to remove a read-only hard link. Restore Windows support for PyPy 3.9, where importing the directory junction tag from stat failed (#3691) by @​gaborbernat.
  • Limit pip-seeder launcher and RECORD rewrites to wheels selected for the current seed run (#3699) by @​gaborbernat.
  • Make virtualenv --upgrade-embed-wheels exit with status 1 and log one could not upgrade error per distribution when an upgrade fails, instead of printing a thread traceback for each and exiting with 0 (#3747) by @​gaborbernat.
  • Make existing default app-data cache roots owner-only on POSIX. Setgid roots keep their group permissions but lose other access. Restore those modes after --reset-app-data. Skip default caches owned by another non-root user, including during migration and in read-only mode. An explicit --app-data path keeps its own ownership policy (#3742) by @​gaborbernat.
  • Make seeded pip launchers use the environment's filesystem path bytes in legacy POSIX locales. Both seeders now use a shell wrapper when that path differs from its UTF-8 spelling. Launchers created by later pip installs are unaffected (#3699) by @​gaborbernat.
  • Make the xonsh activator put back the user's own pydoc alias on deactivate, also after switching between environments, instead of removing it (#3750) by @​gaborbernat.
  • On Ctrl+C, cancel queued seed work and let running workers finish before removing temporary app-data. Press Ctrl+C again to exit the CLI immediately. Rerun creation to finish an interrupted environment (#3699) by @​gaborbernat.
  • On POSIX, the builtin creator honors the destination directory's default ACL when copying interpreters and aliases. Without a default ACL the umask controls group and other access. If the copy lacks owner execute permission, virtualenv restores it when the runtime can verify that the directory has no default ACL. Otherwise creation fails with a hint to use --symlinks (#3702) by @​gaborbernat.
  • On Python 3.9, ignore distutils configuration that redirects packages, headers, scripts, data or .egg-info metadata outside the virtual environment (#3696) by @​gaborbernat.
  • Preserve custom histchars when sourcing activate.csh. The script now reads its generated literals with the default history character, so a custom setting cannot reinterpret a prompt or path as shell syntax (#3687) by @​gaborbernat.
  • Preserve literal exclamation marks and carets in inherited values when Windows batch activation saves and restores PATH, PROMPT, PYTHONHOME, the Tcl and Tk library paths, and PKG_CONFIG_PATH. Quoted path entries retain their punctuation with delayed expansion on or off (#3731) by @​gaborbernat.
  • Preserve non-ASCII Tcl and Tk library path bytes when Xonsh activates an environment under a different locale. Retain Unicode library paths on Windows, and keep Tk paths derived from a verified Tcl source when TK_LIBRARY is unset (#3743) by @​gaborbernat.

... (truncated)

Changelog

Sourced from virtualenv's changelog.

################# Release History #################

.. towncrier-draft-entries:: [UNRELEASED DRAFT]

.. towncrier release notes start

.. _release-21-15-13:


21.15.13 (2026-11-23)


.. _release-21-15-13-fixed:

Fixed

  • On Windows, include bytecode cache directories and temporary bytecode files when checking whether --symlink-app-data needs the seed image's 8.3 short path. This lets virtualenv build seed images when the wheel files fit within the legacy path limit and bytecode compilation needs more room (:pr:3758) by :user:darrenhuai and :user:gaborbernat.

.. _release-21-15-12:


21.15.12 (2026-11-21)


.. _release-21-15-12-fixed:

Fixed

  • Make seed images in app-data read-only, including their directories on POSIX. In a --symlink-app-data environment pip install --ignore-installed of a seed package now fails with a permission error instead of changing the image shared with other environments. Bytecode cache directories and copied seed packages stay writable (:pr:3757) by :user:gaborbernat. (:pr:3620)
  • Isolate custom-index seed wheels in app-data. Without a custom index setting, a private wheel can fill a missing pin in a dedicated cache. Upgraders must download pins missing from the bundle again before going offline. Old cached wheels and images remain on disk (:pr:3756) by :user:gaborbernat.

.. _release-21-15-11:


21.15.11 (2026-11-21)


.. _release-21-15-11-fixed:

... (truncated)

Commits
  • c903cc5 release 21.15.11
  • 21375cf 🐛 fix(venv): restore copy checks before clear (#3754)
  • 273d670 release 21.15.10
  • 3e8e771 🐛 fix(create): keep distutils paths inside environments (#3696)
  • 3d22d67 🐛 fix(create): honor destination permissions for copied Python (#3702)
  • aac5427 🐛 fix(create): patch zipped distutils on 3.9 (#3707)
  • 816212c 🐛 fix(create): honor destination permissions for copied venv interpreters (#3...
  • 256b786 🐛 fix(venv): clear stdlib activation scripts (#3744)
  • 38eecd8 🐛 fix(create): warn about stale venv aliases (#3753)
  • 4b69a11 🐛 fix(create): preserve reported sys.path in safe-path mode (#3748)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [virtualenv](https://github.com/pypa/virtualenv) from 21.15.9 to 21.15.11.
- [Release notes](https://github.com/pypa/virtualenv/releases)
- [Changelog](https://github.com/pypa/virtualenv/blob/main/docs/changelog.rst)
- [Commits](pypa/virtualenv@21.15.9...21.15.11)

---
updated-dependencies:
- dependency-name: virtualenv
  dependency-version: 21.15.11
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from a team as a code owner November 24, 2026 18:14
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Nov 24, 2026

@babenek babenek left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@babenek
babenek merged commit 2f2b675 into main Nov 25, 2026
5 checks passed
@dependabot
dependabot Bot deleted the dependabot/pip/virtualenv-21.15.11 branch November 25, 2026 06:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant